<template>
	<view class="duilianpt">
		<view  v-for="(item,inx) in dataList.meansList" :key="inx">
				<u-row v-if="isShowAll || (!isShowAll && item.is_true != 2) " justify="space-between" gutter="10" :key="inx">
					<u-col span="12">
						<view class="text-center">
							<text class="black-text">
								{{item.issue}}期:
								<text class="red-text">{{dataList.remarks}}</text>
								<text v-for="(vl,vk) in item.means" :key="vk">
									【
									<text class="red-text" :class="{'draw-active' : vl.isTrue}">{{vl.value}}</text>
									主
									<text class="blue-text" v-if="vl.code && vl.code.length">
										<text v-for="(v,i) in vl.code" :key="i" :class="{'draw-active' : v.isTrue}">{{v.value}}</text>
									</text>
									】
								</text>
								<text>
									<text v-if="item.is_true > 0 && item.drawp" class="black-text">开:{{item.drawp}}</text>
									<text v-else  class="black-text">开:{{item.drawp || '??'}}</text>
									
									<text class="red-text" v-if="item.is_true == 1">中</text>
									<text v-else-if="item.is_true == 2">错</text>
								</text>
							</text>
						</view>
					</u-col>
				</u-row>
		</view>
		
	</view>
</template>

<script>
export default {
	name: 'CaiBaWangDanSuangZhu4',
	props: {
	    // 定义一个名为dataList的prop来接收数组数据
	    dataList: {
	      type: [Object,Array],
	      default: () => {
			  return {};
		  },
	    },
		isShowAll :{
			type:[Boolean],
			default : () =>{
				return false;
			}
		},
	},
	data(){
		return {
		}
	},
	mounted() {
		
	},
	methods: {
	}
};
</script>

<style lang="scss" scoped>
@import "@/static/css/common.css";
</style>
